package com.hopu.blb_erp.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TWarning {

  @TableId(value = "product_id",type = IdType.AUTO)
  private int productId;
  private int warningNum;
  private String warehouseId;
  private String menuName;
  private String menuNum;
  @TableField(exist = false)
  private List<TWarehouse> tWarehouses;
  @TableField(exist = false)
  private List<TMenu> tMenu;
  @TableField(exist = false)
  private List<Commodity> commodities;
  @TableField(exist = false)
  private List<Product> tProducts;
  @TableField(exist = false)
  private List<TCargo> tCargos;


}
